package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

@Data
@Table
public class User {
    @TableId(type = IdType.AUTO)
     private Long id;
      private String nickname;
      private String username;
      private String password;
       private String email;
       private String avatar;
       private Integer  type;
       private Date create_time;
        private Date update_time;

}
